<style>
	.login-menu
	{
		font-family:"Lucida Grande","Arial";
	}
</style>
<?php if($logged_in): ?>		
	<li class="dropdown login-menu">
		<a href="#" class="dropdown-toggle" style="font-size:1em;font-weight:normal;" data-toggle="dropdown"><i class="icon-user menu-icon"></i> <?php echo $this->session->userdata('strUsername'); ?> <b class="caret"></b></a>
		<ul class="dropdown-menu">
			<li><a href="#">Edit Profile</a></li>			
			<li class="divider"></li>
			<li><a href="<?php base_url() ?>users/logout">Logout</a></li>						
		</ul>
	</li>
	
<?php else: ?>	
	<li class="dropdown login-menu">
		<a href="#" class="dropdown-toggle" style="font-size:1em;font-weight:normal;" data-toggle="dropdown"><i class="icon-user menu-icon"></i> <b class="caret"></b></a>
		<ul class="dropdown-menu">	
			<li><a class="fancybox" href="<?php echo base_url() ?>users/login">Login</a></li>	
			<li><a href="<?php echo base_url(); ?>users/signup" id="register-btn" class="">Register</a>	</li>
		</ul>
	</li>
<?php endif; ?>